#可执行文件名
EXE = server
#SQLite头文件路径
IN_SQL_PATH = ../sqlite/sqlite3/include
#SQLite库文件路径
LIB_SQL_PATH = ../sqlite/sqlite3/lib
#server.h头文件路径
IN_PATH = ../include


all: gcc install clear


gcc:
	gcc -c *.c -I${IN_SQL_PATH} -I${IN_PATH}
	gcc *.o -o ${EXE}  -L${LIB_SQL_PATH} -lsqlite3
 
clear:
	rm *.o
	rm ${EXE}

install:
	cp ${EXE} ../bin/

